package com.woniu.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "t_admin")
public class Admin implements Serializable {
    @Id
    @Column(name = "adminId")
    private Integer adminid;

    @Column(name = "adminName")
    private String adminname;

    @Column(name = "adminPass")
    private String adminpass;

    @Column(name = "adminPhone")
    private String adminphone;

    /**
     * 1：超级管理员  0：普通管理员
     */
    @Column(name = "Jurisdiction")
    private Integer jurisdiction;

    private static final long serialVersionUID = 1L;

    /**
     * @return adminId
     */
    public Integer getAdminid() {
        return adminid;
    }

    /**
     * @param adminid
     */
    public void setAdminid(Integer adminid) {
        this.adminid = adminid;
    }

    /**
     * @return adminName
     */
    public String getAdminname() {
        return adminname;
    }

    /**
     * @param adminname
     */
    public void setAdminname(String adminname) {
        this.adminname = adminname;
    }

    /**
     * @return adminPass
     */
    public String getAdminpass() {
        return adminpass;
    }

    /**
     * @param adminpass
     */
    public void setAdminpass(String adminpass) {
        this.adminpass = adminpass;
    }

    /**
     * @return adminPhone
     */
    public String getAdminphone() {
        return adminphone;
    }

    /**
     * @param adminphone
     */
    public void setAdminphone(String adminphone) {
        this.adminphone = adminphone;
    }

    /**
     * 获取1：超级管理员  0：普通管理员
     *
     * @return Jurisdiction - 1：超级管理员  0：普通管理员
     */
    public Integer getJurisdiction() {
        return jurisdiction;
    }

    /**
     * 设置1：超级管理员  0：普通管理员
     *
     * @param jurisdiction 1：超级管理员  0：普通管理员
     */
    public void setJurisdiction(Integer jurisdiction) {
        this.jurisdiction = jurisdiction;
    }
}